
#ifndef XDNS_HEADER_INFO_H
#define XDNS_HEADER_INFO_H

class XdnsHeaderInfo
{
public:
    XdnsHeaderInfo();
    XdnsHeaderInfo(const XdnsHeaderInfo& anotherInfo);
    ~XdnsHeaderInfo();
    XdnsHeaderInfo& operator=(const XdnsHeaderInfo& anotherInfo);

    /* See xdns-protocol.h and RFC 1035 for description. */
    bool m_qr;
    bool m_aa;
    bool m_tc;
    bool m_rd;
    bool m_ra;
    unsigned char m_opcode;
    unsigned char m_z;
    unsigned char m_rcode;
    unsigned short m_id;
    unsigned short m_qdcount;
    unsigned short m_ancount;
    unsigned short m_nscount;
    unsigned short m_arcount;
};

#endif  // XDNS_HEADER_INFO_H

